<template>
    <div>
        <table class="mb-tb" style="width: 100%">
            <tr>
                <td class="mb-blue">字典编码</td>
                <td >{{formData.typeCode}}</td>
                <td class="mb-blue">数据项值</td>
                <td >{{formData.value}}</td>
            </tr>
            <tr>
                <td class="mb-blue">数据项名称</td>
                <td >{{formData.name}}</td>
                <td class="mb-blue">排序</td>
                <td >{{formData.sortNo}}</td>
            </tr>
        </table>
    </div>
</template>

<script>
    import Base from '@/components/table/BaseView';
    export default {
        name: "MyView",
        extends:Base,
        methods:{
            loadDataById(id){
                if(id!=null){
                    this.load("/api/system/dict/entity/read",{id})
                }else{
                   this.formData={}
                }
            }
        }

    }
</script>
<style src="@/assets/css/TableView.css" scoped></style>
<style scoped >
    .mb-tb td:nth-of-type(odd){width: 10%;}
    .mb-tb td:nth-of-type(even){width: 40%}
</style>
